package com.freitas.desafiobandeirante;

import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.scenes.scene2d.Actor;

public class MenuBackGround extends Actor{
	
	public MenuBackGround(float width, float height) {
		setWidth(width);
		setHeight(height);
		setPosition(0, 0);
	}

	@Override
	public void draw(SpriteBatch batch, float parentAlpha) {
		super.draw(batch, parentAlpha);
		batch.draw(Assets.menuBackground, getX(), getY(), getWidth(), getHeight());
	}

}
